const { prompt } = require('inquirer');
const progess = require('./main');
const figlet = require('figlet')
require('./command')
require('./options');
console.log(process.create);
if (progess.create)
{
  require('./dir');
}
figlet('WELCOME   TO   USE   KLI', function (err, data) {
  if (err) return
  console.log(data)
  if (process.create)
  {
    prompt({
      type: 'list',
      name: 'framework',
      message: 'please check your install framework',
      choices: [
        'vue', 'react', 'ng'
      ]
    }).then(({ framework }) => {
      require(`./${framework}.cli.js`)
    })
  }
});



